Skip to content

fix(dns): ignore volatile SOA serial on zone import; DNS validated live - #30

Merged
PF9-pushkar merged 1 commit into
mainfrom
fix/dns-serial-import
Jul 14, 2026
Merged

fix(dns): ignore volatile SOA serial on zone import; DNS validated live#30
PF9-pushkar merged 1 commit into
mainfrom
fix/dns-serial-import

Conversation

@PF9-pushkar

Copy link
Copy Markdown
Collaborator

Ran the Designate acceptance tests against the CE lab now that the DNS pool is backed by BIND9.

Fix

The pcd_dns_zone import test compared the SOA serial, which Designate auto-increments out of band (the value jumped …6879…6889 between apply and the import re-read), causing an ImportStateVerify mismatch. Added ImportStateVerifyIgnore: ["serial"] to the zone import step — serial is a legitimately volatile server-managed field.

Validated live (2026-07-13)

TestAccDNSZoneAndRecordSet_basic passes end to end: pcd_dns_zone + pcd_dns_recordset create → ACTIVE, verified via the Designate API, imported, and destroyed. Pool backed by BIND9 on the hypervisor per the runbook's Phase E step 7.

This clears the last lab-blocked suite. Every provider resource that maps to a configured PCD backend is now validated live on the CE lab.

Checks

go build, go vet, gofmt, golangci-lint (0 issues) — clean.

The pcd_dns_zone import test compared the Designate-managed SOA serial, which
Designate auto-increments out of band, so the value re-read on import differed
from the last-applied state (ImportStateVerify mismatch). Ignore `serial` on the
zone import step.

Validated live against a Designate pool backed by BIND9: zone + recordset create
-> ACTIVE, verify via the API, import, and destroy. This clears the last
lab-blocked suite; every resource mapping to a configured PCD backend is now
validated on the CE lab (see DECISIONS.md).
@PF9-pushkar
PF9-pushkar merged commit f5fa2aa into main Jul 14, 2026
5 checks passed
@PF9-pushkar
PF9-pushkar deleted the fix/dns-serial-import branch July 14, 2026 00:15
PF9-pushkar added a commit that referenced this pull request Jul 14, 2026
fix(dns): ignore volatile SOA serial on zone import; DNS validated live
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant